package com.grj.video.controller;

import com.grj.video.entity.User;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * @author 14505
 */
@RestController
@RequiredArgsConstructor
public class VideoController {
    @GetMapping
    public String getVideoUrl(){
        return "ser";
    }

    @PostMapping
    public User uploadVideo(@RequestBody User user){
        return user;
    }

}
